﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.Traceable.Domain.Entitiy
{
    /// <summary>
    /// 屠宰信息表
    /// </summary>
    public class Butchery
    {
        /// <summary>
        /// 屠宰编号（主键）
        /// </summary>
        [Key]
        public int ButcheryId { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string  Batch { get; set; }
        /// <summary>
        /// 到厂均重(公斤)
        /// </summary>
        public int Weight { get; set; }
        /// <summary>
        /// 到厂时间
        /// </summary>
        public DateTime  ArrivalTime { get; set; }
        /// <summary>
        /// 屠宰时间
        /// </summary>
        public DateTime ButcheryTime { get; set; }
        /// <summary>
        /// 删除标记
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}
